package com.wenli.lt.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wenli.lt.entity.Commentlist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.wenli.lt.entity.po.CommentlistPo;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lt
 * @since 2021-03-23
 */
public interface CommentlistMapper extends BaseMapper<Commentlist> {

    int insertCommentList(@Param("commentlist") Commentlist commentlist);

    List<CommentlistPo> selectcommentList(@Param("goodsId")String goodsId);

    IPage<CommentlistPo> selectcommentPage(Page page, @Param("studentNumber")String studentNumber);
}
